import React, { PureComponent } from 'react'
import Header from '../../components/header/Header'
import * as styles from "./home.less";
import { getHttp } from '@/utils/http.js'

class Home extends PureComponent {
    constructor(props) {
        super(props)

        this.state = {

        }
    }
  
    async componentDidMount() {
        let result = await getHttp('/api/101320101.html')
        console.log(result)
    }

    render() {
        return (
            <div>
                <Header />
                <div className={styles.content}>
                    测试文字
                 </div>
            </div>
        )
    }
}

export default Home